package com.example.controller;

import com.example.entity.AlarmConfig;
import com.example.service.AlarmConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/conifg")
public class AlarmConfigController {

    @Autowired
    private AlarmConfigService alarmConfigService;

    @RequestMapping("/query")
    public void query(AlarmConfig alarmConfig) throws Exception {

        alarmConfigService.query(alarmConfig);

    }
}
